package com.ruoyi.sys.emeknowledge.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急知识库对象 tb_emergency_knowledge
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public class TbEmergencyKnowledge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ekId;

    /** 应急文件名称 */
    @Excel(name = "应急文件名称")
    private String ekName;

    /** 文件说明 */
    @Excel(name = "文件说明")
    private String ekStatement;

    /** 附件数 */
    @Excel(name = "附件数")
    private Long ekQuantity;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ekDate;

    public void setEkId(Long ekId) 
    {
        this.ekId = ekId;
    }

    public Long getEkId() 
    {
        return ekId;
    }
    public void setEkName(String ekName) 
    {
        this.ekName = ekName;
    }

    public String getEkName() 
    {
        return ekName;
    }
    public void setEkStatement(String ekStatement) 
    {
        this.ekStatement = ekStatement;
    }

    public String getEkStatement() 
    {
        return ekStatement;
    }
    public void setEkQuantity(Long ekQuantity) 
    {
        this.ekQuantity = ekQuantity;
    }

    public Long getEkQuantity() 
    {
        return ekQuantity;
    }
    public void setEkDate(Date ekDate) 
    {
        this.ekDate = ekDate;
    }

    public Date getEkDate() 
    {
        return ekDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ekId", getEkId())
            .append("ekName", getEkName())
            .append("ekStatement", getEkStatement())
            .append("ekQuantity", getEkQuantity())
            .append("ekDate", getEkDate())
            .toString();
    }
}
